#!/usr/bin/env bash
version=1.0.0
if [ -n "$1" ]; then
    version=$1
fi
docker build -t ccr.ccs.tencentyun.com/tsf_962397068/blog-admin:${version} -f src/main/docker/Dockerfile .
docker push ccr.ccs.tencentyun.com/tsf_962397068/blog-admin:${version}